var apis = []
    ///管理员api
var adminApi = [{
            name: "登录",
            method: 'Login',
            path: '/admin/login',
            type: 'post'
        },
        {
            name: "获取管理员列表",
            method: 'GetAdminList',
            path: '/admin/GetAdminList',
            type: 'get'
        },
        {
            name: "添加管理员",
            method: 'CreateAdmin',
            path: '/admin/CreateAdmin',
            type: 'post'
        },
        {
            name: "查找管理员",
            method: 'FindAdmin',
            path: '/admin/FindAdmin',
            type: 'get'
        },
        {
            name: '删除管理员',
            method: 'RemoveAdmin',
            path: '/admin/RemoveAdmin',
            type: 'post'
        },
        {
            name: '批量删除管理员',
            method: 'BatchRemoveAdmin',
            path: '/admin/BatchRemoveAdmin',
            type: 'post'
        },
        {
            name: '禁用管理员',
            method: 'DisableAdmin',
            path: '/admin/DisableAdmin',
            type: 'post'
        },
        {
            name: '启用管理员',
            method: 'EnableAdmin',
            path: '/admin/EnableAdmin',
            type: 'post'
        },
        {
            name: '修改密码',
            method: 'ChangePassword',
            path: '/admin/ChangePassword',
            type: 'post'
        }
    ]
    ///应用api
var applicationApis = [{
        name: "获取应用列表",
        method: 'GetApplicationList',
        path: '/application/GetApplicationList',
        type: 'get'
    },
    {
        name: "添加应用",
        method: 'CreateApplicaiton',
        path: '/application/CreateApplicaiton',
        type: 'post'
    },
    {
        name: "修改应用基本信息",
        method: 'ChangeApplicationInfo',
        path: '/application/ChangeApplicationInfo',
        type: 'post'
    },
    {
        name: "重置应用密钥",
        method: 'UpdateSecret',
        path: '/application/UpdateApplicationSecret',
        type: 'post'
    },
    {
        name: "查看应用密钥信息",
        method: 'AddApplication',
        path: '/application/AddApplication',
        type: 'get'
    },
    {
        name: "删除应用",
        method: 'RemoveApplication',
        path: '/application/RemoveApplication',
        type: 'post'
    },
    {
        name: "禁用应用",
        method: 'LockApplication',
        path: '/application/LockApplication',
        type: 'post'
    },
    {
        name: "启用应用",
        method: 'UnlockApplication',
        path: '/application/UnlockApplication',
        type: 'post'
    },
    {
        name: "查看密钥",
        method: 'GetSecret',
        path: '/application/GetSecret',
        type: 'post'
    }
]


module.exports = apis
    .concat(adminApi)
    .concat(applicationApis)